﻿using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using System;
using Volo.Abp.AspNetCore.Mvc;

namespace ProductService.Host.Controllers
{
    public class HomeController : AbpController
    {
        public ActionResult Index()
        {
            Func<int, Task> asyncLambda = async (count) =>
            {
                await Task.Delay(1000);
                Console.WriteLine("Async asyncLambda.");
            };

            return Redirect("/swagger");
        }
    }
}
